package com.ruoyi.business.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.domain.dto.WsdPaymentRecordsDTO;
import com.ruoyi.common.core.domain.entity.WsdRefundTransactions;
import com.ruoyi.common.core.domain.vo.ChartDataVO;
import com.ruoyi.common.core.domain.vo.WsdRefundTransactionsVO;

import java.util.List;

/**
 * <p>
 * 退款流水表，记录所有退款相关的信息 服务类
 * </p>
 *
 * @author wwq
 * @since 2024-05-20
 */
public interface IWsdRefundTransactionsService extends IService<WsdRefundTransactions> {

    /**
     * 查询退款流水，记录所有退款相关的信息列表
     *
     * @param wsdRefundTransactions 退款流水，记录所有退款相关的信息
     * @return 退款流水，记录所有退款相关的信息集合
     */
    public List<WsdRefundTransactions> selectWsdRefundTransactionsList(WsdRefundTransactions wsdRefundTransactions);

    List<WsdRefundTransactionsVO> listRefund(WsdPaymentRecordsDTO wsdPaymentRecordsDTO);

    ChartDataVO getTotalFeeByYear();


    ChartDataVO getTotalFeeByMonth();

    ChartDataVO getTotalFeeByDateRange(String startDate, String endDate);
}
